﻿using System.Collections.Generic;
using System.ComponentModel;

namespace LM.InterfacesFabricas.DTOs
{
    public class DtoCliente
    {
        public DtoCliente()
        {
            this.Dependentes = new List<DtoDependente>();
            this.Enderecos = new List<DtoEndereco>();
            this.Telefones = new List<DtoTelefone>();
        }

        [Browsable(false)]
        public System.Guid Id { get; set; }
        public string Nome { get; set; }
        public string Cpf { get; set; }
        public string Cnh { get; set; }
        public int TipoDoCliente { get; set; }
        public int Codigo { get; set; }

        [Browsable(false)]
        public virtual ICollection<DtoDependente> Dependentes { get; set; }
        [Browsable(false)]
        public virtual ICollection<DtoEndereco> Enderecos { get; set; }
        [Browsable(false)]
        public virtual ICollection<DtoTelefone> Telefones { get; set; }
        [Browsable(false)]
        public virtual ICollection<DtoLocacao> Locacoes { get; set; }
    }
}
